<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
</head>
<body>
<div ng-app="" ng-init="hour=13">
    <p ng-show="hour > 12">我是可见的</p>
    <p ng-show="hour > 14">我是不可见的</p>
</div>
</body>
</html>